package com.hpc.Service;

import entity.article;
import entity.user;

import java.util.List;
import java.util.Map;

public interface adminService {
     int userForbidden(String userId);
     int unForbidden(String userId);
     int deleteUser(String userId);
     List<user> allUserInfo();
     List<article> allArticleInfo(boolean isNeedAds);
     int deleteArticle(String articleId);
     int login(String username,String password);
     Map<String,Object> getAllMessages();
     int deleteMessage(String messageId);
}
